package cn.zhiquxing.dao;

import cn.zhiquxing.pojo.User;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface UserDao {
   User getUser(Long id);
   int insertUser(User user);
   void updateUser(User user);
   List<User> findUsers(String userName, String note);
   int deleteUser(Long id);
}